package com.uchedao.seller.module;

import com.google.gson.Gson;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

/**
 * 手续信息
 * 
 * @author "叶晋"
 * 
 */
public class ProcessInfo implements Cloneable {

	@Expose
	@SerializedName("save_price")
	public String save_price;// 保留价

	@Expose
	@SerializedName("invoice")
	public String invoice;// 发票

	@Expose
	@SerializedName("driving_license")
	public String driving_license;// 行驶证

	@Expose
	@SerializedName("registration")
	public String registration;// 登记证

	@Expose
	@SerializedName("surtax_card")
	public String surtax_card;// 购置税证

	@Expose
	@SerializedName("travel_tax")
	public String travel_tax;// 车船税

	@Expose
	@SerializedName("travel_tax_time")
	public String travel_tax_time;// 车船税时间

	@Expose
	@SerializedName("year_check")
	public String year_check;// 年检

	@Expose
	@SerializedName("year_check_time")
	public String year_check_time;// 年检有效期

	@Expose
	@SerializedName("safe_force")
	public String safe_force;// 交强险

	@Expose
	@SerializedName("safe_force_time")
	public String safe_force_time;// 交强险有效期

	@Expose
	@SerializedName("safe_business")
	public String safe_business;// 商业保险

	@Expose
	@SerializedName("safe_business_sale")
	public String safe_business_sale;// 随车出售

	@Expose
	@SerializedName("safe_business_amount")
	public String safe_business_amount;// 商业险金额

	@Expose
	@SerializedName("safe_business_time")
	public String safe_business_time;// 商险有效期

	@Expose
	@SerializedName("insurance_company")
	public String insurance_company;// 保险公司
	
	@SerializedName("insurance_company_other")
	public String insurance_company_other;// 自填保险公司

	@Expose
	@SerializedName("owner_card")
	public String owner_card;// 车主身份证

	@Expose
	@SerializedName("body_nameplate")
	public String body_nameplate;// 车身铭牌

	@Expose
	@SerializedName("illegal_info")
	public String illegal_info;// 违章记录

	@Expose
	@SerializedName("illegal_fine")
	public String illegal_fine;// 罚款

	@Expose
	@SerializedName("illegal_detained_scores")
	public String illegal_detained_scores;// 扣分

	@Override
	public ProcessInfo clone() throws CloneNotSupportedException {
		return (ProcessInfo) super.clone();
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null || getClass() != obj.getClass()) {
			return false;
		}
		ProcessInfo processInfo = getClass().cast(obj);
		return processInfo.toString().equals(toString());
	}

	public String toString() {
		return new Gson().toJson(this);
	}

}
